package net.lab1024.sa.admin.module.business.orders.domain.form;

import net.lab1024.sa.admin.module.business.orders.constant.OrderStatusEnum;
import net.lab1024.sa.base.common.domain.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.lab1024.sa.base.common.swagger.SchemaEnum;
import net.lab1024.sa.base.common.validator.enumeration.CheckEnum;

/**
 * 零售订单 分页查询表单
 *
 * @Author 谭智得
 * @Date 2025-03-19 09:46:50
 * @Copyright 谭智得
 */

@Data
public class RetailOrdersQueryForm extends PageParam{

    @Schema(description = "会员卡号")
    private String vipcardNumber;

    @Schema(description = "单据编号")
    private String orderNumber;

    @Schema(description = "仓库名称")
    private String palceName;

    @Schema(description = "商品信息")
    private String goodInfo;

    @Schema(description = "操作员")
    private String operator;

    @SchemaEnum(value = OrderStatusEnum.class, desc = "订单状态")
    @CheckEnum(value = OrderStatusEnum.class, message = "订单状态 错误")
    private Integer orderStatus;

}